<?php if(!function_exists('json_encode')){	include_once(dirname(__FILE__).'/cls_json.php');	function json_encode($value)	{		$json = new JSON;		return $json->encode($value);	}}if(!function_exists('json_decode')){	include_once(dirname(__FILE__).'/cls_json.php');	function json_decode($json , $um = false)	{		$json = new JSON;		return $json->decode($json , $um);	}}function & website($type){    global $qqapp_key, $qqapp_secret;	$path = dirname(__FILE__);	if(!file_exists($path.'/config/'.$type.'_config.php') || !file_exists($path.'/'.$type.'.php') || !file_exists($path.'/cls_http.php'))	{		return false;	}		include_once($path.'/config/'.$type.'_config.php');	if(!defined('APP_KEY'))	{		return false;	}	include_once($path.'/'.$type.'.php');		return new website();}?>